home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-28 | 1.0 KB | 22 lines | [ttro/ttxt] |
- AppleEvent and Edition Manager PACK trapping
- Here are some MacsBug macros that will allow you to
- break on AppleEvent and Edition Manager PACK calls.
- This of course can be very handy when you are developing and
- debugging.
- To use them, open up the 'AE & Edition PACK trapping' with ResEdit. Select the
- 'mxbm' resource icon and copy it. Close the 'AE & Edition PACK trapping' file.
- Open your 'Debbugger Prefs' file (it should be in your system folder) and
- paste the 'mxbm' resource into it.
- NOTE: You may get a 'duplicate resource ID' alert, if you do just hit the
- 'Unique ID' button and you'll be fine.
- Restart your Mac, and you can now type 'atb AESend' (or any other
- AppleEvent or Edition Manager call) and you will break when the
- call is made.
- This should work fine for all the calls, but it was a bit of typing
- so there are probably some spelling mistakes. If you get an
- 'unrecognized symbol' error, you may want to check how I spelled it.
- C.K. Haun
- DTS
-
- Written under the FredWare priciple:
- If you don't like it,write a better one.